home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
f2c
/
may_5_92.lha
/
f2c.VMay_5_1992
/
libF77
/
r_nint.c
< prev
next >
Wrap
C/C++ Source or Header
|
1992-05-07
|
120b
|
11 lines
#include "f2c.h"
double r_nint(x)
real *x;
{
double floor();
return( (*x)>=0 ?
floor(*x + .5) : -floor(.5 - *x) );
}